<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><!-- #BeginTemplate "/Templates/method.dwt" -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>WIKINDX CLASS DOCUMENTATION</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  <!-- #BeginEditable "methodName" -->
  links()
  <!-- #EndEditable -->
  </p>
<p><strong>Class:</strong><br />
<!-- #BeginEditable "className" -->
<a href="pagingClass.html">PAGING</a>
<!-- #EndEditable -->
<p><strong>Method Call:</strong><br />
  <!-- #BeginEditable "methodCall" -->
include_once("core/paging/PAGING.php");<br />
$paging = new PAGING($dbObject, $varsInput);<br />
STRING $paging->links(STRING: $queryString);
<!-- #EndEditable -->  </p>
<strong>Description:</strong><br />
  <!-- #BeginEditable "methodDescription" -->
Returns a formatted string containing hyperlinks for navigation through the paging system.<p>
<!-- #EndEditable -->
<p></p>
<strong>Usage:</strong><br />
  <!-- #BeginEditable "methodUsage" -->
<pre>
	$sqlTotal = $this->db->select('WKX_resource', "title, type");
	include_once("core/paging/PAGING.php");
	$paging = new PAGING($this->db, $this->vars, $sqlTotal);
// How many resources to display is read from the session to pass to the SQL LIMIT clause.
	$sqlLimit = $sqlTotal . $paging->sqlLimit();
	print = $paging->linksInfo();
	$sth = $this->db->query($sqlLimit);
	while($row = $this->db->fetchAssoc($sth))
		print $row['title'] . " (" . $row['type'] . ")&lt;br /&gt;";
	$queryString = "action=listResourcesDisplay";
	print $paging->links($queryString);
  </pre>
<!-- #EndEditable -->
<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
  </body>
<!-- #EndTemplate -->
</html>
